<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF8">
    <meta name="viewport" content="width=devicewidth, initialscale=1.0">
    <meta httpequiv="XUACompatible" content="ie=edge">
    <title>Document</title>
</head>

<body>
    <h4>img标签上title和alt的属性的区别是什么？</h4>
    <p>Alt当图片不显示是用文字代表</p>
    <p>title为该属性提供信息</p>  
</body> 

</html>